package com.park.dao.user;

import java.util.List;
import java.util.Map;

import com.park.client.model.user.UserAttentionModel;
import com.park.dao.base.BaseMapper;

public interface UserAttentionMapper extends BaseMapper<UserAttentionModel>{
    /**
     * 查询我关注的或者关注我的
     * @param map
     * @return
     */
    List<UserAttentionModel> selectAllAttentions(UserAttentionModel userAttention);
    
    /**
	 * 取消关注
	 * @param map
	 * @return
	 */
    int cancelAttention(Map<String,Object> map);
    
    UserAttentionModel selectHasExists(UserAttentionModel userAttention);
}